<?php
namespace controllers;
use SDF\Controllers\Common;
class main extends Common{
    //自动加载
    public function __construct() {
        if(!session_id()) {
            session_start();
        }
        if(empty($_SESSION['supplier_code'])){
            self::display($this->DATA,'login/login');
            exit;
        }
    }
}
